package cn.stylefeng.guns.modular.gridsystem.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.modular.gridsystem.entity.CollectionModel;
import cn.stylefeng.guns.modular.gridsystem.model.param.CollectionModelParam;
import cn.stylefeng.guns.modular.gridsystem.model.result.CollectionModelResult;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * biz_collection_model 服务类
 *
 * @author 乔李莱莱
 * @since 2023/10/17
 */
public interface CollectionModelService extends IService<CollectionModel> {

    /**
     * 分页查询biz_collection_model
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    PageResult<CollectionModelResult> page(CollectionModelParam param);

    /**
     * 添加biz_collection_model
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void add(CollectionModelParam collectionModelParam);

    /**
     * 添加biz_collection_model
     *
     * @param model
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void add(CollectionModel model);

    /**
     * 删除biz_collection_model
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void delete(CollectionModelParam collectionModelParam);

    /**
     * 编辑biz_collection_model
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    void edit(CollectionModelParam collectionModelParam);

    /**
     * 同步模型
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    Long sync(CollectionModelParam param);

    /**
     * 查看详情biz_collection_model
     *
     * @author 乔李莱莱
     * @since 2023/10/17
     */
    CollectionModel detail(CollectionModelParam collectionModelParam);

}
